projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05cdce2
)
testscale: Properly call gtk_main_quit
author
Timm Bäder
<mail@baedert.org>
Fri, 9 Aug 2019 08:33:52 +0000
(10:33 +0200)
committer
Timm Bäder
<mail@baedert.org>
Fri, 9 Aug 2019 12:30:01 +0000
(14:30 +0200)
tests/testscale.c
patch
|
blob
|
history
diff --git
a/tests/testscale.c
b/tests/testscale.c
index 484bb9c97c79b6ec8a93fe7540c32144b01afc8d..33280dcf37e2fd27fd4715d8f0525e159e4b81d0 100644
(file)
--- a/
tests/testscale.c
+++ b/
tests/testscale.c
@@
-118,6
+118,7
@@
int main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Ranges with marks");
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
box1 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
flipbox = box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
gtk_widget_set_hexpand (flipbox, TRUE);